package cn.wjh.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 作品打分对象 tbl_works_mark
 *
 * @author jiraWu
 * @date 2023-10-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("tbl_works_mark")
public class WorksMark extends BaseEntity {
	private static final long serialVersionUID = 1L;


	/**
	 * 主键
	 */
	@TableId
	private Long markId;


	/**
	 * 作品Id
	 */
	@Excel(name = "作品Id")
	private Long worksId;


	/**
	 * 用户Id
	 */
	@Excel(name = "用户Id")
	private Long userId;


	/**
	 * 分数
	 */
	@Excel(name = "分数")
	private Long score;


	/**
	 * 点评内容
	 */
	@Excel(name = "点评内容")
	private String comment;


	/**
	 * 点评时间
	 */
	private Date createTime;


	/**
	 * 点评人
	 */
	private String createBy;

	/*评委*/
	@TableField(exist = false)
	private SysUser user;
}

